﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Led: src/test/java/com/stateforge/statebuilder/Led/LedTest.java Source File</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderJava
            </h1>
            <h3>
                Led: src/test/java/com/stateforge/statebuilder/Led/LedTest.java Source File
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">src/test/java/com/stateforge/statebuilder/Led/LedTest.java</div>  </div>
</div>
<div class="contents">
<a href="_led_test_8java.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a><a class="code" href="namespacecom_1_1stateforge_1_1statebuilder_1_1_led.html">00001</a> <span class="keyword">package </span>com.stateforge.statebuilder.Led;
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="keyword">import</span> org.junit.After;
<a name="l00004"></a>00004 <span class="keyword">import</span> org.junit.Before;
<a name="l00005"></a>00005 <span class="keyword">import</span> org.junit.Test;
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="keyword">import</span> com.stateforge.statemachine.examples.Led.Led;
<a name="l00008"></a>00008 
<a name="l00012"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html">00012</a> <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html">LedTest</a>   
<a name="l00013"></a>00013 {
<a name="l00014"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">00014</a>     <span class="keyword">private</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html">Led</a> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a>;
<a name="l00015"></a>00015 
<a name="l00016"></a>00016     @Before
<a name="l00017"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a6dc8f9739fef1acfdf214d6bc6a6e52c">00017</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a6dc8f9739fef1acfdf214d6bc6a6e52c">setUp</a>() throws Exception {
<a name="l00018"></a>00018         this.<a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a> = <span class="keyword">new</span> <a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html">Led</a>();
<a name="l00019"></a>00019     }
<a name="l00020"></a>00020 
<a name="l00021"></a>00021     @After
<a name="l00022"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a8c80880927efd451045714572cbbb2a5">00022</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a8c80880927efd451045714572cbbb2a5">tearDown</a>() throws Exception {
<a name="l00023"></a>00023 
<a name="l00024"></a>00024     } 
<a name="l00025"></a>00025 
<a name="l00026"></a>00026     @Test
<a name="l00027"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a07bbde7af5e46b2e658481e0363eae70">00027</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a07bbde7af5e46b2e658481e0363eae70">testOn</a>()
<a name="l00028"></a>00028     {
<a name="l00029"></a>00029         this.<a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a>.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html#a8816038118d06548e4a278d5222683c2">on</a>();
<a name="l00030"></a>00030     }
<a name="l00031"></a>00031 
<a name="l00032"></a>00032     @Test
<a name="l00033"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a279a6bec17a054303d3e968fa6ef391b">00033</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a279a6bec17a054303d3e968fa6ef391b">testOff</a>()
<a name="l00034"></a>00034     {
<a name="l00035"></a>00035         this.<a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a>.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html#afc062a83a833d883d8cff3ea60963a1e">off</a>();
<a name="l00036"></a>00036     }
<a name="l00037"></a>00037 
<a name="l00038"></a>00038     @Test
<a name="l00039"></a><a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a0780ea5a4e4b1e2b76bee41e7125ab2d">00039</a>     <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#a0780ea5a4e4b1e2b76bee41e7125ab2d">testOnOff</a>()
<a name="l00040"></a>00040     {
<a name="l00041"></a>00041         this.<a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a>.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html#a8816038118d06548e4a278d5222683c2">on</a>();
<a name="l00042"></a>00042         this.<a class="code" href="classcom_1_1stateforge_1_1statebuilder_1_1_led_1_1_led_test.html#ab63adc3de6273e0b626cc5c0342b421b">helloWorld</a>.<a class="code" href="classcom_1_1stateforge_1_1statemachine_1_1examples_1_1_led_1_1_led.html#afc062a83a833d883d8cff3ea60963a1e">off</a>();
<a name="l00043"></a>00043     }
<a name="l00044"></a>00044 }
</pre></div></div>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
